package com.microservice.stream;

import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;


/**
 *
 * output 一个生产者的通道
 *
 */
public interface MySource {

    String output = "output";

    @Output(MySink.input)
    MessageChannel output();

    @Output(MySink.input2)
    MessageChannel output2();

    @Output(MySource.output)
    MessageChannel output3();


}
